<?php
$image_url = "{$_SERVER["DOCUMENT_ROOT"]}/{$_REQUEST["image_url"]}";
if (unlink($image_url)) echo "success";
else "unable to delete file";
?>
